package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:05 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUITreeNodeDAO
    extends IDataAccessInterface<ProductUITreeNode, ProductUITreeNodeDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_TREE_NODE";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_TREE_NODE.ID";

  /** Mapped Field TREE_ID */
  static final String TreeId = "PRODUCT_UI_TREE_NODE.TREE_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_TREE_NODE.CODE";

  /** Mapped Field TITLE */
  static final String Title = "PRODUCT_UI_TREE_NODE.TITLE";

  /** Mapped Field TITLE_KEY */
  static final String TitleKey = "PRODUCT_UI_TREE_NODE.TITLE_KEY";

  /** Mapped Field ICON */
  static final String Icon = "PRODUCT_UI_TREE_NODE.ICON";

  /** Mapped Field IS_LEAF */
  static final String IsLeaf = "PRODUCT_UI_TREE_NODE.IS_LEAF";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_TREE_NODE.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_TREE_NODE.LAST_MODIFY_TIME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_TREE_NODE.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_TREE_NODE.REMARKS";

  /** Mapped Field IS_ROOT */
  static final String IsRoot = "PRODUCT_UI_TREE_NODE.IS_ROOT";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute treeId */
    static final String TreeId = "treeId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute title */
    static final String Title = "title";

    /** Attribute titleKey */
    static final String TitleKey = "titleKey";

    /** Attribute icon */
    static final String Icon = "icon";

    /** Attribute isLeaf */
    static final String IsLeaf = "isLeaf";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute isRoot */
    static final String IsRoot = "isRoot";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUITreeNode findById(final long id) throws Exception;
}
